﻿using System.Web.Mvc;
using FacialClub.Helpers;
using FacialClub.Models.Entities;

namespace FacialClub.Models.ViewModels
{
    /// <summary>
    /// Subscription View Model
    /// </summary>
    public class SubscriptionViewModel
    {
        /// <summary>
        /// SubscriptionViewModel
        /// </summary>
        /// <param name="subscription"></param>
        public SubscriptionViewModel(Subscription subscription)
        {
            Subscription = subscription;
            Countries = new SelectList(PhoneValidator.Countries, Subscription.Country);
        }

        /// <summary>
        /// Countries
        /// </summary>
        public SelectList Countries { get; private set; }

        /// <summary>
        /// Subscription
        /// </summary>
        public Subscription Subscription { get; private set; }

        /// <summary>
        /// Email Type
        /// </summary>
        public SelectList EmailType { get; private set; }

        /// <summary>
        /// Product Type
        /// </summary>
        public SelectList ProductType { get; private set; }

        /// <summary>
        /// Skin Type
        /// </summary>
        public SelectList SkinType { get; private set; }
    }
}